From: Georges Basile Stavracas Neto Date: Tue, 2 Mar 2021 22:52:26 +0000 (-0300) Subject: overview: Don't show black panel on startup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~192 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9bce2a02beb4efbb0676f8e09d7b027c3bf72f4c;p=gnome-shell.git overview: Don't show black panel on startup The back → transparent transition gives it a very bad look when booting and running the startup animation. Use the same transition duration hack to ensure that the panel starts completely transparent. Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 209be4203..78736e513 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -652,6 +652,8 @@ var Overview = class { } runStartupAnimation(callback) { + Main.panel.style = 'transition-duration: 0ms;'; + this._shown = true; this._visible = true; this._visibleTarget = true; @@ -663,6 +665,7 @@ var Overview = class { this.emit('showing'); this._overview.runStartupAnimation(() => { + Main.panel.style = null; this.emit('shown'); callback(); });